package com.eco.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: xulinyu
 * date:  2024/11/22 18:12
 */
@Data
public class LightB {
    //{"name":"sensor1","ip":"124.222.224.186","port":"8800","onCommand":"000100000006FF050064FF00","offCommand":"000100000006FF0500640000"}
    @ApiModelProperty("设备名")
    private String name;

    @ApiModelProperty("ip")
    private String ip;

    @ApiModelProperty("端口")
    private Integer port;

    @ApiModelProperty("开灯指令")
    private String onCommand;

    @ApiModelProperty("关灯指令")
    private String offCommand;
}
